<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 手机端适配 user-scalable=no 不让用户通过手势改变大小 -->
    <meta name="viewport"
        content="width=device-width,height=device-height,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <link rel="stylesheet" href="css/style.css">
    <script src="js/jquery3.6.0.js"></script>
    <!-- 支撑逻辑 -->
    <script src="js/support.js"></script>
    <!-- 动画 -->
    <script src="js/animation.js"></script>
    <!-- 主逻辑 -->
    <script src="js/main.js"></script>
    <title>在线2048小游戏</title>
</head>

<body>
    <!-- 页眉 -->
    <div class="header">
        <h1>2048</h1>
        <p class="sc">0</p>
    </div>
    <div class="header">
        <p class="sty2048">合并相同方块得到<span>2048方块</span></p>
        <a href="javascript:newgame()" id="newgamebutton">新游戏</a>
    </div>

    <div id="grid-container">
        <div class="game-message">
            <p>Game over!</p>
            <div class="lower">
                <a class="retry-button">再试一次</a>
            </div>
        </div>
        <div class="grid-cell" id="grid-cell-0-0"></div>
        <div class="grid-cell" id="grid-cell-0-1"></div>
        <div class="grid-cell" id="grid-cell-0-2"></div>
        <div class="grid-cell" id="grid-cell-0-3"></div>

        <div class="grid-cell" id="grid-cell-1-0"></div>
        <div class="grid-cell" id="grid-cell-1-1"></div>
        <div class="grid-cell" id="grid-cell-1-2"></div>
        <div class="grid-cell" id="grid-cell-1-3"></div>

        <div class="grid-cell" id="grid-cell-2-0"></div>
        <div class="grid-cell" id="grid-cell-2-1"></div>
        <div class="grid-cell" id="grid-cell-2-2"></div>
        <div class="grid-cell" id="grid-cell-2-3"></div>

        <div class="grid-cell" id="grid-cell-3-0"></div>
        <div class="grid-cell" id="grid-cell-3-1"></div>
        <div class="grid-cell" id="grid-cell-3-2"></div>
        <div class="grid-cell" id="grid-cell-3-3"></div>
    </div>

</body>

</html>